package com.im.common.enums.exception;

import lombok.Getter;

@Getter
public enum BaseErrorCode implements BaseExceptionEnum {

    SUCCESS(200,"success"),
    SYSTEM_ERROR(90000,"服务器内部错误,请联系管理员"),
    PARAMETER_ERROR(90001,"参数校验错误"),
    ;

    private int code;
    private String msg;

    BaseErrorCode(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

}
